package test;

import org.springframework.stereotype.Component;

@Component("bus")
public class Bus implements Car{
    public void drive(){
        System.out.println("开着公交车");
    }
}
